package org.Niu;

public class AssertTest {
    public static void main(String[] args) {
        int success = 0;
        assert success == 1 : "success must is 1";
        System.out.println("测试结束");
        // JVM 默认关闭，-enableassertions 会开启 （可简写为-ea）
    }
}
